/**
 * jims
 */
package com.jims.master.modules.sync.entity;

import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 检验申请明细Entity
 * @author 陈晓阳
 * @version 2017-03-16
 */
public class LabItem extends DataEntity<LabItem> {

	private static final long serialVersionUID = 1L;
	private String applyId;		// 检验申请主表ID
	private String clinicItemId;//诊疗项目ID
	private String itemName;		// 检验项目名称
	private String itemCode;		// 检验项目code
	private String costs;		// 费用
	private LabApply labApply;//主记录实体
	private String clinicItemIds;//诊疗项目Ids

	private String itemType;     //检查项目类型
	private String itemTypeName; //检查项目类型名称
	private String inpNo;
	private String wardAdmissionTo;
	private String date;
	private String bedNo;  //患者床号
	private String name;
	private String clinicNo;
	private String priceId;
	private String groupsId;
	private String isUrgent;//加急标志
	private String confirmFlag;		// 确认标志
	private String chargeFlag;		// 收费标志

	public String getInpNo() {
		return inpNo;
	}

	public void setInpNo(String inpNo) {
		this.inpNo = inpNo;
	}

	public String getWardAdmissionTo() {
		return wardAdmissionTo;
	}

	public void setWardAdmissionTo(String wardAdmissionTo) {
		this.wardAdmissionTo = wardAdmissionTo;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getBedNo() {
		return bedNo;
	}

	public void setBedNo(String bedNo) {
		this.bedNo = bedNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getClinicNo() {
		return clinicNo;
	}

	public void setClinicNo(String clinicNo) {
		this.clinicNo = clinicNo;
	}

	public String getPriceId() {
		return priceId;
	}

	public void setPriceId(String priceId) {
		this.priceId = priceId;
	}

	public String getGroupsId() {
		return groupsId;
	}

	public void setGroupsId(String groupsId) {
		this.groupsId = groupsId;
	}

	public String getIsUrgent() {
		return isUrgent;
	}

	public void setIsUrgent(String isUrgent) {
		this.isUrgent = isUrgent;
	}

	public String getConfirmFlag() {
		return confirmFlag;
	}

	public void setConfirmFlag(String confirmFlag) {
		this.confirmFlag = confirmFlag;
	}

	public String getChargeFlag() {
		return chargeFlag;
	}

	public void setChargeFlag(String chargeFlag) {
		this.chargeFlag = chargeFlag;
	}
	//扩展字段
    /** 输血管类别 1:采血费小孩 2:采血费成人*/
    private String bloodType;
    /** 输血管数量 默认为0*/
    private Integer bloodNum;
	public LabItem() {
		super();
	}

	public LabItem(String id){
		super(id);
	}

	@Length(min=1, max=64, message="检验申请主表ID长度必须介于 1 和 64 之间")
	public String getApplyId() {
		return applyId;
	}

	public void setApplyId(String applyId) {
		this.applyId = applyId;
	}
	
	@Length(min=1, max=100, message="检验项目名称长度必须介于 1 和 100 之间")
	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	
	@Length(min=1, max=100, message="检验项目code长度必须介于 1 和 100 之间")
	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	
	public String getCosts() {
		return costs;
	}

	public void setCosts(String costs) {
		this.costs = costs;
	}

    public LabApply getLabApply() {
        return labApply;
    }

    public void setLabApply(LabApply labApply) {
        this.labApply = labApply;
    }


    public String getClinicItemIds() {
        return clinicItemIds;
    }

    public void setClinicItemIds(String clinicItemIds) {
        this.clinicItemIds = clinicItemIds;
    }

	public String getClinicItemId() {
		return clinicItemId;
	}

	public void setClinicItemId(String clinicItemId) {
		this.clinicItemId = clinicItemId;
	}

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getItemTypeName() {
        return itemTypeName;
    }

    public void setItemTypeName(String itemTypeName) {
        this.itemTypeName = itemTypeName;
    }

    public String getBloodType() {
        return bloodType;
    }

    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    public Integer getBloodNum() {
        return bloodNum;
    }

    public void setBloodNum(Integer bloodNum) {
        this.bloodNum = bloodNum;
    }
}